<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
	String UserAccount = "";
	if(request.getSession().getAttribute("UserName") != null) {
		UserAccount = request.getSession().getAttribute("UserName").toString();
	}
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

<!-- Bootstrap -->
<link href="statics/css/bootstrap.min.css" rel="stylesheet" type="text/css">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->

<link rel="stylesheet" href="statics/css/base.css" />
<link rel="stylesheet" href="statics/css/all.css" />
<script language="javascript" type="text/javascript" src="statics/js/jquery.min.js"></script>
<script language="javascript" type="text/javascript" src="statics/js/jquery-jtemplates.js"></script>


<!-- Include all compiled plugins (below), or include individual files as needed -->
<script type="text/javascript" src="statics/js/bootstrap.min.js"></script>
<!-- <script type="text/javascript" src="statics/js/bootstrap-datepicker.js"></script> -->
 
<script type="text/javascript">
	var UserID = <%=UserAccount%>
</script>
	<tiles:insertAttribute name="head" ignore="true"/>
</head>

<body>

	
	  <div class="top">
		  <div class="t_info">
		    <ul>
<!-- 			  <li><span class="search_b"><input type="text" class="search_txt" id="leaderNameDefault"><button onclick="toSerachLeader()" class="search_btn"></button></span></li>			  -->
			  <li><img src="statics/images/user_photo.jpg" class="u_img"></li>
			  <li class="exit_b"><%=UserAccount%><i class="icon25 d_icon"></i><a class="exit" href="logout">退出</a></li>
			</ul>
		  </div>
		  <div class="nav">
		    <ul>
		    	 <li><a href="viewsmanagement/UploadImage"><i class="icon30 n03"></i>图片上传</a></li>
			 	 <li><a href="viewsmanagement/globalStatistics"><i class="icon30 n01"></i>图片查询</a></li>
				 <li><a href="viewsmanagement/complaintsReport"><i class="icon30 n02"></i>实时计算</a></li>
			</ul>
		  </div>
		  <div class="logo"></div>
	  </div>

	<tiles:insertAttribute name="body" ignore="true"/>
	<div id="showDiv"></div>
	
	<!-- ============== 隐藏层开始 ============== -->
	
	<tiles:insertAttribute name="dialog" ignore="true" />

</body>
    
</html>